package com.ruoyi.quartz.task;

import org.springframework.stereotype.Component;

/**
 * @description: 任务task
 * @author: stone
 * @date: Created by 2023/5/17 21:19
 * @version: 1.0.0
 * @pakeage: com.ruoyi.quartz.task
 */
@Component("demoTask")
public class DemoTask {

    public void execute() {
        System.out.println("指定日期执行 ===> " + Thread.currentThread().getName());

    }
}
